from tkinter import *
window=Tk()
window.title('фигура для ит марафона')
window.geometry('1000x1000')
canvas= Canvas(bg ='grey',width = 1000,height = 1000)
canvas.pack(anchor = CENTER,expand = 1)
canvas.create_polygon([0,0,
                        20,0,
                        0,20,
                        20,20,
                        0,40,
                        20,40,
                        40,20,
                        40,40,
                        40,60,
                        20,60], fil='blue')
canvas.create_rectangle (0,0,20,20,fill='blue',outline='blue')
canvas.create_rectangle (0,20,20,40,fill='blue',outline='blue')
canvas.create_rectangle (20,20,40,40,fill='blue',outline='blue')
canvas.create_rectangle (20,40,40,60,fill='blue',outline='blue')
window.mainloop() 
